package com.rf.richfitwheel.admin.sys.service;

import com.rf.richfitwheel.admin.sys.model.Vacation;
import com.rf.richfitwheel.admin.sys.vo.UserVO;
import com.rf.richfitwheel.common.utils.PageUtils;

import java.util.Map;

public interface VacationService {
    public PageUtils list(Map<String, Object> params, UserVO user);

    Vacation getVacationById(String id);

    void addVacation(Vacation Vacation, UserVO user);

    void updateVacation(Vacation Vacation, UserVO user);

    void addAndSubmitVacation(Map<String, Object> Vacation, UserVO user);

    void updateAndSubmitVacation(Map<String, Object> Vacation, UserVO user);

    void updateVacation(Vacation Vacation);

    void temp(Map<String, Object> params, UserVO user);
}
